package com.adinnet.api.child.service;

import com.adinnet.api.child.model.Child;
import com.adinnet.api.child.model.vo.ChildRankPageReq;
import com.adinnet.api.child.model.vo.ChildRankPageResp;
import com.adinnet.api.child.model.vo.ChildDetailsResp;
import com.adinnet.api.child.model.vo.ChildResp;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 儿童表 服务类
 * </p>
 *
 * @author zYshuai
 * @since 2020-12-02
 */
public interface ChildService extends IService<Child> {

    List<ChildResp> details(Integer id);

    void confirm(Integer id);

    ChildDetailsResp information(Integer id);

    void edit(Child child);

    ChildRankPageResp getChildRankList(ChildRankPageReq req);

    void clearSharePeaseNum(Integer childId);
}
